package org.sws.domain.award.repository;

import org.sws.domain.award.aggregate.AwardRecordTaskAggregate;
import org.sws.domain.award.aggregate.GiveOutPrizesAggregate;
import org.sws.domain.award.model.entity.AwardRecordEntity;

import java.util.List;

/**
 * @Author sws
 * @Date 2025/3/24 11:56
 * @description: 奖品服务仓储层接口
 */
public interface IAwardRepository {


    void createAwardRecord(AwardRecordTaskAggregate awardRecordTaskAggregate);

    List<AwardRecordEntity> queryAwardRecord(String userId, Long activityId);

    String queryAwardConfig(Integer awardId);

    void saveGiveOutPrizesAggregate(GiveOutPrizesAggregate giveOutPrizesAggregate);

    String queryAwardKey(Integer awardId);
}
